_moveTemporarily: function () {
let currentWindow = global.screen.get_display().focus_window;
- let rect = currentWindow.get_outer_rect();
+ let rect = currentWindow.get_frame_rect();
let newX = rect.x;
let newY = 3 * this.actor.height / 2;
if (!dragWindow)
return Clutter.EVENT_PROPAGATE;
- let rect = dragWindow.get_outer_rect();
+ let rect = dragWindow.get_frame_rect();
let [stageX, stageY] = event.get_coords();
let allowDrag = dragWindow.maximized_vertically &&
y: monitor.y,
width: monitor.width,
height: monitor.height });
- let [, rect] = window.get_outer_rect().intersect(monitorRect);
+ let [, rect] = window.get_frame_rect().intersect(monitorRect);
this.actor.set_size(rect.width, rect.height);
this.actor.set_position(rect.x, rect.y);
this.actor.opacity = 0;
},
_computeBoundingBox: function() {
- let rect = this.metaWindow.get_outer_rect();
+ let rect = this.metaWindow.get_frame_rect();
this.actor.get_children().forEach(function (child) {
let realWindow;
realWindow = child.source;
let metaWindow = realWindow.meta_window;
- rect = rect.union(metaWindow.get_outer_rect());
+ rect = rect.union(metaWindow.get_frame_rect());
}, this);
// Convert from a MetaRectangle to a native JS object
_updateDialogPosition: function(realDialog, cloneDialog) {
let metaDialog = realDialog.meta_window;
- let dialogRect = metaDialog.get_outer_rect();
- let rect = this.metaWindow.get_outer_rect();
+ let dialogRect = metaDialog.get_frame_rect();
+ let rect = this.metaWindow.get_frame_rect();
cloneDialog.set_position(dialogRect.x - rect.x, dialogRect.y - rect.y);
},
_onPositionChanged: function() {
- let rect = this.metaWindow.get_outer_rect();
+ let rect = this.metaWindow.get_frame_rect();
this.actor.set_position(this.realWindow.x, this.realWindow.y);
},